<?php
// +----------------------------------------------------------------------
// | VueAdmin框架[基于ThinkPHP5开发]
// +----------------------------------------------------------------------
// | Copyright (c) 2016-2018 http://www.vueadmin.org
// +----------------------------------------------------------------------
// | VueAdmin承诺基础框架永久免费开源，您可用于学习和商用，但必须保留软件版权信息。
// +----------------------------------------------------------------------
// | Author: sept <917088650@qq.com>，开发者QQ群：50304283
// +----------------------------------------------------------------------

namespace app\lib\requests;


use app\lib\returnCode\Code;
use app\lib\returnCode\Msg;

class Response
{
    public static function success($data = '',$code = Code::SYSTEM_OK, $msg = Msg::SYSTEM_OK) {
        $arr = [
            'code'  =>  $code,
            'msg'   =>  $msg,
            'data'  =>  $data,
        ];

//        Code::msg(Code::SYSTEM_OK);
        return $arr;
    }

}